﻿<table class="table table-bordered table-hover table-striped">
    <tr >
        <td style="width: 60px;" rowspan="5">车队</td>
        <td style="width: 90px;">正值：</td>
        <td style="width: 100px;" ng-init="inputOperator=false" ng-click="editing('inputOperator')" ng-mouseleave="inputOperator=false">
            <span ng-show="!inputOperator">{{teamRecord.operator}}</span>
            <input ng-show="inputOperator" ng-model="teamRecord.operator" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
        <td style="width: 70px;" rowspan="5">机关用车</td>
        <td style="width: 80px;">生产办：</td>
        <td style="width: 100px;" ng-init="inputProduceOffice=false" ng-click="editing('inputProduceOffice')" ng-mouseleave="inputProduceOffice=false">
            <span ng-show="!inputProduceOffice">{{teamRecord.produceOffice}}</span>
            <input ng-show="inputProduceOffice" ng-model="teamRecord.produceOffice" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
    </tr>
    <tr class="success">
        <td>付值：</td>
        <td ng-init="inputAssistantOperator=false" ng-click="editing('inputAssistantOperator')" ng-mouseleave="inputAssistantOperator=false">
            <span ng-show="!inputAssistantOperator">{{teamRecord.assistantOperator}}</span>
            <input ng-show="inputAssistantOperator" ng-model="teamRecord.assistantOperator" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
        <td></td>
        <td></td>
    </tr>
    <tr >
        <td>夜班：</td>
        <td ng-init="inputNightOperator=false" ng-click="editing('inputNightOperator')" ng-mouseleave="inputNightOperator=false">
            <span ng-show="!inputNightOperator">{{teamRecord.nightOperator}}</span>
            <input ng-show="inputNightOperator" ng-model="teamRecord.nightOperator" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
        <td>综合办：</td>
        <td ng-init="inputCompositeOffice=false" ng-click="editing('inputCompositeOffice')" ng-mouseleave="inputCompositeOffice=false">
            <span ng-show="!inputCompositeOffice">{{teamRecord.compositeOffice}}</span>
            <input ng-show="inputCompositeOffice" ng-model="teamRecord.compositeOffice" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
    </tr>
    <tr class="success">
        <td>外派：</td>
        <td ng-init="inputExternalOperator=false" ng-click="editing('inputExternalOperator')" ng-mouseleave="inputExternalOperator=false">
            <span ng-show="!inputExternalOperator">{{teamRecord.externalOperator}}</span>
            <input ng-show="inputExternalOperator" ng-model="teamRecord.externalOperator" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>修理车辆：</td>
        <td ng-init="inputRepaireMan=false" ng-click="editing('inputRepaireMan')" ng-mouseleave="inputRepaireMan=false">
            <span ng-show="!inputRepaireMan">{{teamRecord.repaireMan}}</span>
            <input ng-show="inputRepaireMan" ng-model="teamRecord.repaireMan" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
        <td>经营办：</td>
        <td ng-init="inputManageOffice=false" ng-click="editing('inputManageOffice')" ng-mouseleave="inputManageOffice=false">
            <span ng-show="!inputManageOffice">{{teamRecord.manageOffice}}</span>
            <input ng-show="inputManageOffice" ng-model="teamRecord.manageOffice" class="form-control" ng-blur="saveTeamRecord()" />
        </td>
    </tr>
</table>